package com.farmer.common.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class FinanceService {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private String type;
    private BigDecimal loanAmount;
    private Integer loanTerm;
    private BigDecimal interestRate;
    private String insuranceType;
    private BigDecimal insuranceAmount;
    private BigDecimal premium;
    private String subsidyType;
    private BigDecimal subsidyAmount;
    private Integer status;
    private LocalDateTime applyTime;
    private LocalDateTime reviewTime;
    private LocalDateTime grantTime;
    private String remark;

    // 显式添加无参构造方法
    public FinanceService() {
    }
}